import {request} from '@/utils/request.js'

/**
 * 食堂管理 API JS
 */

export default {

    /**
     * 获取吃饭人员信息
     * @returns
     */
    getList(params = {}) {

        return request({
            url: 'temblor/canteen/list',
            method: 'get',
            params
        })
    },
    /**
     *
     * @param data
     * @returns {*}
     */
    eatNumber(data = {}) {

        return request({
            url: 'temblor/canteen/eatNumber',
            method: 'post',
            data
        })
    },
    /**
     *
     * @param data
     * @returns {*}
     */
    eatDate(data = {}) {
        return request({
            url: 'temblor/canteen/eatDate',
            method: 'post',
            data
        })
    },


};